{extend name="Public:base"/}

{block name="main"}
<div class="box-info">
    <form action="{:U('Form/listorder')}" method="post">
        <table class="table table-bordered table-hover table-condensed">
            <thead>
            <tr>
                <th width="40">ID</th>
                <th>表单名称</th>
                <th>数据库表名</th>
                <th>描述</th>
                <th class="manage w-300px">操作管理</th>
            </tr>
            </thead>
            <tbody>
            {volist name="list" id="vo" key="k"}
            <tr>
                <td align="center">{$vo['id']}</td>
                <td>{$vo['name']}</td>
                <td>{$vo['tablename']}</td>
                <td>{$vo['description']}</td>

                <td class="manage">
                    <a class="btn btn-sm btn-primary" href="{:U('Form/content',array('formid'=>$vo['id']))}">查看信息</a>
                    <a class="btn btn-sm btn-primary" href="{:U('FormField/index',array('formid'=>$vo['id']))}">表单字段</a>
                    <a class="btn btn-sm btn-primary" href="{:U('Form/edit',array('id'=>$vo['id']))}">编辑</a>
                    <a class="btn btn-sm btn-danger" href="{:U('Form/delete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要卸载吗？')">删除</a>
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
    </form>
</div>
{/block}